﻿<%@ Page Title="" Language="C#" MasterPageFile="~/admin/manage.master" AutoEventWireup="true"
    CodeFile="successList.aspx.cs" Inherits="successList" %>
    
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="main" runat="Server">
    <table cellpadding="0" cellspacing="0" width="900" style="">
        <tr>
            <td>
                <asp:DataList ID="dl" runat="server" CellPadding="0" CellSpacing="0" Width="100%"
                    OnItemCommand="dl_ItemCommand">
                    <HeaderTemplate>
                        <div class="titleColor" style="width: 100%; vertical-align: middle; padding-top: 8px;
                            height: 24px;">
                            <div align="center" class="titleCenter" style="float: left; width: 15%;">
                                <span class="vtitle">NO1</span></div>
                            <div class="titleCenter" style="float: left; width: 20%;">
                                <span class="vtitle">图片</span></div>
                            <div class="titleCenter" style="float: left; width: 15%;">
                                <span class="vtitle">NO2</span></div>
                            <div class="titleCenter" style="float: left; width: 22%;">
                                <span class="vtitle">NO3</span></div>
                            <div align="center" class="titleCenter" style="float: left; width: 20%;">
                                <span class="vtitle">功能</span></div>
                        </div>
                    </HeaderTemplate>
                    <ItemTemplate>
                        <div style="width: 100%; vertical-align: middle; padding-top: 8px; height: 24px;">
                            <div align="center" style="float: left; width: 15%;">
                                <span class="vtitle">
                                    <%#Eval("name") %></span></div>
                            <div style="float: left; width: 20%;">
                                
                                 <img src='<%#Eval("src") %>'  style="width:50px; height:25px;"/></div>
                            <div style="float: left; width: 15%;">
                                <span class="vtitle">
                                    <%#Eval("no2") %></span></div>
                            <div style="float: left; width: 25%;">
                                <span class="vtitle">
                                    <%#Eval("no3") %></span></div>
                            <div style="float: left; text-align: center; width: 15%;">
                                <asp:LinkButton ID="btnEdit" runat="server" CommandArgument='<%#Eval("id") %>' CommandName="edit"
                                    Text="[ 编辑 ]"></asp:LinkButton>
                                <asp:LinkButton ID="LinkButton1" runat="server" CommandArgument='<%#Eval("id") %>'
                                    OnClientClick="return confirm('确定要删除吗？');" CommandName="delete" Text="[ 删除 ]"></asp:LinkButton>
                            </div>
                        </div>
                    </ItemTemplate>
                </asp:DataList>
                <webdiyer:aspnetpager id="webPager" runat="server" pagesize="10" onpagechanging="webPager_PageChanging">
				</webdiyer:aspnetpager>
            </td>
        </tr>
    </table>
</asp:Content>
